package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修保养对象 car_maintenance
 * 
 * @author ruoyi
 * @date 2022-12-03
 */
public class CarMaintenance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long maintenanceId;

    /** 保养维修项目名称 */
    @Excel(name = "保养维修项目名称")
    private String maintenanceName;

    /** 维修保养价格 */
    @Excel(name = "维修保养价格")
    private Long maintenancePrice;

    /** 维修/保养 */
    @Excel(name = "维修/保养")
    private String maintenanceType;

    public void setMaintenanceId(Long maintenanceId) 
    {
        this.maintenanceId = maintenanceId;
    }

    public Long getMaintenanceId() 
    {
        return maintenanceId;
    }
    public void setMaintenanceName(String maintenanceName) 
    {
        this.maintenanceName = maintenanceName;
    }

    public String getMaintenanceName() 
    {
        return maintenanceName;
    }
    public void setMaintenancePrice(Long maintenancePrice) 
    {
        this.maintenancePrice = maintenancePrice;
    }

    public Long getMaintenancePrice() 
    {
        return maintenancePrice;
    }
    public void setMaintenanceType(String maintenanceType) 
    {
        this.maintenanceType = maintenanceType;
    }

    public String getMaintenanceType() 
    {
        return maintenanceType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("maintenanceId", getMaintenanceId())
            .append("maintenanceName", getMaintenanceName())
            .append("maintenancePrice", getMaintenancePrice())
            .append("maintenanceType", getMaintenanceType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
